@import './../common.less';
@import './../lxa.less';
@import './skuPopup.less';
.page-wrapper{
  overflow: hidden;
  min-height: calc(100vh - 2.66rem);
  // banner图
  .goods-main-info {
    width: 100%;
    background-color: #fff;

    .goods-imgs {
      width: 100%;
      height: 17.33rem;

      .banners {
        height: 17.33rem;
      }

      .slide-image {
        width: 100%;
        height: 17.33rem;
      }
    }

    .goods-title {
      // height: 5.06rem;

      .goods-price {
        padding: 0.667rem;
        display: flex;
        justify-content: space-between;

        .price {
          vertical-align: bottom;

          .main-price {
            display: inline;
            font-size: 0.8rem;
            color: @orange;

            .icon-rmb {
              display: inline;
              font-size: 0.75rem;
            }
          }

          .sub-price {
            display: inline;
            font-size: 0.75rem;
            color: @lightBlack;
            text-decoration: line-through;
            margin-left: 0.267rem;
          }
        }

        .store {
          display: inline;
          font-size: 0.9rem;
          line-height: 1.333rem;
          color: @lightBlack;
          vertical-align: bottom;
        }
      }

      .share-title {
        padding-left: 0.667rem;
        padding-bottom: 0.667rem;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .share-btn {
          border: 0;
          padding: 0;
          width: 4.267rem;
          height: 1.333rem;
          background-color: #f5f5f5;
          border-radius: 0.667rem 0 0 0.667rem;
          font-size: 0.65rem;
          line-height: 1.333rem;
          display: flex;
          justify-content: center;
          align-items: center;

          .icon-share {
            width: 0.693rem;
            height: 0.693rem;
            margin-right: 0.267rem;
          }
        }
      }

      .goods-name {
        flex: 1;
        font-size: 0.9rem;
        // line-height: 0.64rem;
        color: #1f1f1f;
      }
    }
  }

  // 规格
  .sku-info {
    height: 1.333rem;
    background-color: #fff;
    padding: 0.667rem;
    margin-top: 0.267rem;
    line-height: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .sku-title {
      font-size: 0.9rem;
      color: @black;
    }

    .select {
      display: flex;
      align-items: center;
      color: @greydark;

      .icon-go {
        width: 0.4rem;
        height: 0.8rem;
        margin-left: 0.267rem;
      }
    }
  }

  .main-detail-content {
    padding-bottom: 2.667rem;
  }

  .fix-footer {
    position: fixed;
    bottom: 0;
    height: 2.667rem;
    width: 100%;
    display: flex;
    background-color: #fff;
    box-shadow: 0 0 0.053rem rgba(0, 0, 0, 0.2);
    z-index: 9;

    button::after {
      border: none;
    }

    .service {
      width: 3.33rem;
      text-align: center;
      color: @lightBlack;
      padding: 0;
      padding-top: 0.213rem;
      font-size: 0.75rem;
      line-height: 0.4rem;
      background-color: #fff;
      border: none;

      .service-img {
        margin-top: 0.267rem;
      }

      .icon-service {
        width: 1rem;
        height: 0.933rem;
      }
      .unCollect{
        background:url('../../assets/icon-collect.png') no-repeat;
        background-size: cover;
        display: inline-block;
      }
      .collected{
        background:url('../../assets/icon-collect-xinxin3.png') no-repeat;
        background-size: cover;
        display: inline-block;
      }
      .service-font{
        margin:0.2rem 0;
      }
    }

    .collect-btn {
      padding-top: 0.213rem;
      border-left: 1px solid @grey-4;
    }

    .handle-btns {
      flex: 1;
      display: flex;

      .btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        background-color: #ff9730;
        color: #fff;

        &.shop-btn {
          background-color: @orange;
        }

        .price {
          margin-top: 0.267rem;
        }
      }
    }
  }
}

